package com.vivo.customer.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CompanyExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CompanyExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIsNull() {
            addCriterion("Company_Name is null");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIsNotNull() {
            addCriterion("Company_Name is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyNameEqualTo(String value) {
            addCriterion("Company_Name =", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotEqualTo(String value) {
            addCriterion("Company_Name <>", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameGreaterThan(String value) {
            addCriterion("Company_Name >", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameGreaterThanOrEqualTo(String value) {
            addCriterion("Company_Name >=", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLessThan(String value) {
            addCriterion("Company_Name <", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLessThanOrEqualTo(String value) {
            addCriterion("Company_Name <=", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLike(String value) {
            addCriterion("Company_Name like", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotLike(String value) {
            addCriterion("Company_Name not like", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIn(List<String> values) {
            addCriterion("Company_Name in", values, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotIn(List<String> values) {
            addCriterion("Company_Name not in", values, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameBetween(String value1, String value2) {
            addCriterion("Company_Name between", value1, value2, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotBetween(String value1, String value2) {
            addCriterion("Company_Name not between", value1, value2, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyEnglishNameIsNull() {
            addCriterion("Company_English_Name is null");
            return (Criteria) this;
        }

        public Criteria andCompanyEnglishNameIsNotNull() {
            addCriterion("Company_English_Name is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyEnglishNameEqualTo(String value) {
            addCriterion("Company_English_Name =", value, "companyEnglishName");
            return (Criteria) this;
        }

        public Criteria andCompanyEnglishNameNotEqualTo(String value) {
            addCriterion("Company_English_Name <>", value, "companyEnglishName");
            return (Criteria) this;
        }

        public Criteria andCompanyEnglishNameGreaterThan(String value) {
            addCriterion("Company_English_Name >", value, "companyEnglishName");
            return (Criteria) this;
        }

        public Criteria andCompanyEnglishNameGreaterThanOrEqualTo(String value) {
            addCriterion("Company_English_Name >=", value, "companyEnglishName");
            return (Criteria) this;
        }

        public Criteria andCompanyEnglishNameLessThan(String value) {
            addCriterion("Company_English_Name <", value, "companyEnglishName");
            return (Criteria) this;
        }

        public Criteria andCompanyEnglishNameLessThanOrEqualTo(String value) {
            addCriterion("Company_English_Name <=", value, "companyEnglishName");
            return (Criteria) this;
        }

        public Criteria andCompanyEnglishNameLike(String value) {
            addCriterion("Company_English_Name like", value, "companyEnglishName");
            return (Criteria) this;
        }

        public Criteria andCompanyEnglishNameNotLike(String value) {
            addCriterion("Company_English_Name not like", value, "companyEnglishName");
            return (Criteria) this;
        }

        public Criteria andCompanyEnglishNameIn(List<String> values) {
            addCriterion("Company_English_Name in", values, "companyEnglishName");
            return (Criteria) this;
        }

        public Criteria andCompanyEnglishNameNotIn(List<String> values) {
            addCriterion("Company_English_Name not in", values, "companyEnglishName");
            return (Criteria) this;
        }

        public Criteria andCompanyEnglishNameBetween(String value1, String value2) {
            addCriterion("Company_English_Name between", value1, value2, "companyEnglishName");
            return (Criteria) this;
        }

        public Criteria andCompanyEnglishNameNotBetween(String value1, String value2) {
            addCriterion("Company_English_Name not between", value1, value2, "companyEnglishName");
            return (Criteria) this;
        }

        public Criteria andCompanyBranchIsNull() {
            addCriterion("Company_branch is null");
            return (Criteria) this;
        }

        public Criteria andCompanyBranchIsNotNull() {
            addCriterion("Company_branch is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyBranchEqualTo(String value) {
            addCriterion("Company_branch =", value, "companyBranch");
            return (Criteria) this;
        }

        public Criteria andCompanyBranchNotEqualTo(String value) {
            addCriterion("Company_branch <>", value, "companyBranch");
            return (Criteria) this;
        }

        public Criteria andCompanyBranchGreaterThan(String value) {
            addCriterion("Company_branch >", value, "companyBranch");
            return (Criteria) this;
        }

        public Criteria andCompanyBranchGreaterThanOrEqualTo(String value) {
            addCriterion("Company_branch >=", value, "companyBranch");
            return (Criteria) this;
        }

        public Criteria andCompanyBranchLessThan(String value) {
            addCriterion("Company_branch <", value, "companyBranch");
            return (Criteria) this;
        }

        public Criteria andCompanyBranchLessThanOrEqualTo(String value) {
            addCriterion("Company_branch <=", value, "companyBranch");
            return (Criteria) this;
        }

        public Criteria andCompanyBranchLike(String value) {
            addCriterion("Company_branch like", value, "companyBranch");
            return (Criteria) this;
        }

        public Criteria andCompanyBranchNotLike(String value) {
            addCriterion("Company_branch not like", value, "companyBranch");
            return (Criteria) this;
        }

        public Criteria andCompanyBranchIn(List<String> values) {
            addCriterion("Company_branch in", values, "companyBranch");
            return (Criteria) this;
        }

        public Criteria andCompanyBranchNotIn(List<String> values) {
            addCriterion("Company_branch not in", values, "companyBranch");
            return (Criteria) this;
        }

        public Criteria andCompanyBranchBetween(String value1, String value2) {
            addCriterion("Company_branch between", value1, value2, "companyBranch");
            return (Criteria) this;
        }

        public Criteria andCompanyBranchNotBetween(String value1, String value2) {
            addCriterion("Company_branch not between", value1, value2, "companyBranch");
            return (Criteria) this;
        }

        public Criteria andCompanyNatureIsNull() {
            addCriterion("Company_nature is null");
            return (Criteria) this;
        }

        public Criteria andCompanyNatureIsNotNull() {
            addCriterion("Company_nature is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyNatureEqualTo(String value) {
            addCriterion("Company_nature =", value, "companyNature");
            return (Criteria) this;
        }

        public Criteria andCompanyNatureNotEqualTo(String value) {
            addCriterion("Company_nature <>", value, "companyNature");
            return (Criteria) this;
        }

        public Criteria andCompanyNatureGreaterThan(String value) {
            addCriterion("Company_nature >", value, "companyNature");
            return (Criteria) this;
        }

        public Criteria andCompanyNatureGreaterThanOrEqualTo(String value) {
            addCriterion("Company_nature >=", value, "companyNature");
            return (Criteria) this;
        }

        public Criteria andCompanyNatureLessThan(String value) {
            addCriterion("Company_nature <", value, "companyNature");
            return (Criteria) this;
        }

        public Criteria andCompanyNatureLessThanOrEqualTo(String value) {
            addCriterion("Company_nature <=", value, "companyNature");
            return (Criteria) this;
        }

        public Criteria andCompanyNatureLike(String value) {
            addCriterion("Company_nature like", value, "companyNature");
            return (Criteria) this;
        }

        public Criteria andCompanyNatureNotLike(String value) {
            addCriterion("Company_nature not like", value, "companyNature");
            return (Criteria) this;
        }

        public Criteria andCompanyNatureIn(List<String> values) {
            addCriterion("Company_nature in", values, "companyNature");
            return (Criteria) this;
        }

        public Criteria andCompanyNatureNotIn(List<String> values) {
            addCriterion("Company_nature not in", values, "companyNature");
            return (Criteria) this;
        }

        public Criteria andCompanyNatureBetween(String value1, String value2) {
            addCriterion("Company_nature between", value1, value2, "companyNature");
            return (Criteria) this;
        }

        public Criteria andCompanyNatureNotBetween(String value1, String value2) {
            addCriterion("Company_nature not between", value1, value2, "companyNature");
            return (Criteria) this;
        }

        public Criteria andRegisterAddressIsNull() {
            addCriterion("Register_Address is null");
            return (Criteria) this;
        }

        public Criteria andRegisterAddressIsNotNull() {
            addCriterion("Register_Address is not null");
            return (Criteria) this;
        }

        public Criteria andRegisterAddressEqualTo(String value) {
            addCriterion("Register_Address =", value, "registerAddress");
            return (Criteria) this;
        }

        public Criteria andRegisterAddressNotEqualTo(String value) {
            addCriterion("Register_Address <>", value, "registerAddress");
            return (Criteria) this;
        }

        public Criteria andRegisterAddressGreaterThan(String value) {
            addCriterion("Register_Address >", value, "registerAddress");
            return (Criteria) this;
        }

        public Criteria andRegisterAddressGreaterThanOrEqualTo(String value) {
            addCriterion("Register_Address >=", value, "registerAddress");
            return (Criteria) this;
        }

        public Criteria andRegisterAddressLessThan(String value) {
            addCriterion("Register_Address <", value, "registerAddress");
            return (Criteria) this;
        }

        public Criteria andRegisterAddressLessThanOrEqualTo(String value) {
            addCriterion("Register_Address <=", value, "registerAddress");
            return (Criteria) this;
        }

        public Criteria andRegisterAddressLike(String value) {
            addCriterion("Register_Address like", value, "registerAddress");
            return (Criteria) this;
        }

        public Criteria andRegisterAddressNotLike(String value) {
            addCriterion("Register_Address not like", value, "registerAddress");
            return (Criteria) this;
        }

        public Criteria andRegisterAddressIn(List<String> values) {
            addCriterion("Register_Address in", values, "registerAddress");
            return (Criteria) this;
        }

        public Criteria andRegisterAddressNotIn(List<String> values) {
            addCriterion("Register_Address not in", values, "registerAddress");
            return (Criteria) this;
        }

        public Criteria andRegisterAddressBetween(String value1, String value2) {
            addCriterion("Register_Address between", value1, value2, "registerAddress");
            return (Criteria) this;
        }

        public Criteria andRegisterAddressNotBetween(String value1, String value2) {
            addCriterion("Register_Address not between", value1, value2, "registerAddress");
            return (Criteria) this;
        }

        public Criteria andMailingAddressIsNull() {
            addCriterion("Mailing_Address is null");
            return (Criteria) this;
        }

        public Criteria andMailingAddressIsNotNull() {
            addCriterion("Mailing_Address is not null");
            return (Criteria) this;
        }

        public Criteria andMailingAddressEqualTo(String value) {
            addCriterion("Mailing_Address =", value, "mailingAddress");
            return (Criteria) this;
        }

        public Criteria andMailingAddressNotEqualTo(String value) {
            addCriterion("Mailing_Address <>", value, "mailingAddress");
            return (Criteria) this;
        }

        public Criteria andMailingAddressGreaterThan(String value) {
            addCriterion("Mailing_Address >", value, "mailingAddress");
            return (Criteria) this;
        }

        public Criteria andMailingAddressGreaterThanOrEqualTo(String value) {
            addCriterion("Mailing_Address >=", value, "mailingAddress");
            return (Criteria) this;
        }

        public Criteria andMailingAddressLessThan(String value) {
            addCriterion("Mailing_Address <", value, "mailingAddress");
            return (Criteria) this;
        }

        public Criteria andMailingAddressLessThanOrEqualTo(String value) {
            addCriterion("Mailing_Address <=", value, "mailingAddress");
            return (Criteria) this;
        }

        public Criteria andMailingAddressLike(String value) {
            addCriterion("Mailing_Address like", value, "mailingAddress");
            return (Criteria) this;
        }

        public Criteria andMailingAddressNotLike(String value) {
            addCriterion("Mailing_Address not like", value, "mailingAddress");
            return (Criteria) this;
        }

        public Criteria andMailingAddressIn(List<String> values) {
            addCriterion("Mailing_Address in", values, "mailingAddress");
            return (Criteria) this;
        }

        public Criteria andMailingAddressNotIn(List<String> values) {
            addCriterion("Mailing_Address not in", values, "mailingAddress");
            return (Criteria) this;
        }

        public Criteria andMailingAddressBetween(String value1, String value2) {
            addCriterion("Mailing_Address between", value1, value2, "mailingAddress");
            return (Criteria) this;
        }

        public Criteria andMailingAddressNotBetween(String value1, String value2) {
            addCriterion("Mailing_Address not between", value1, value2, "mailingAddress");
            return (Criteria) this;
        }

        public Criteria andBusinessScopeIsNull() {
            addCriterion("Business_Scope is null");
            return (Criteria) this;
        }

        public Criteria andBusinessScopeIsNotNull() {
            addCriterion("Business_Scope is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessScopeEqualTo(String value) {
            addCriterion("Business_Scope =", value, "businessScope");
            return (Criteria) this;
        }

        public Criteria andBusinessScopeNotEqualTo(String value) {
            addCriterion("Business_Scope <>", value, "businessScope");
            return (Criteria) this;
        }

        public Criteria andBusinessScopeGreaterThan(String value) {
            addCriterion("Business_Scope >", value, "businessScope");
            return (Criteria) this;
        }

        public Criteria andBusinessScopeGreaterThanOrEqualTo(String value) {
            addCriterion("Business_Scope >=", value, "businessScope");
            return (Criteria) this;
        }

        public Criteria andBusinessScopeLessThan(String value) {
            addCriterion("Business_Scope <", value, "businessScope");
            return (Criteria) this;
        }

        public Criteria andBusinessScopeLessThanOrEqualTo(String value) {
            addCriterion("Business_Scope <=", value, "businessScope");
            return (Criteria) this;
        }

        public Criteria andBusinessScopeLike(String value) {
            addCriterion("Business_Scope like", value, "businessScope");
            return (Criteria) this;
        }

        public Criteria andBusinessScopeNotLike(String value) {
            addCriterion("Business_Scope not like", value, "businessScope");
            return (Criteria) this;
        }

        public Criteria andBusinessScopeIn(List<String> values) {
            addCriterion("Business_Scope in", values, "businessScope");
            return (Criteria) this;
        }

        public Criteria andBusinessScopeNotIn(List<String> values) {
            addCriterion("Business_Scope not in", values, "businessScope");
            return (Criteria) this;
        }

        public Criteria andBusinessScopeBetween(String value1, String value2) {
            addCriterion("Business_Scope between", value1, value2, "businessScope");
            return (Criteria) this;
        }

        public Criteria andBusinessScopeNotBetween(String value1, String value2) {
            addCriterion("Business_Scope not between", value1, value2, "businessScope");
            return (Criteria) this;
        }

        public Criteria andCompanyCardIsNull() {
            addCriterion("Company_card is null");
            return (Criteria) this;
        }

        public Criteria andCompanyCardIsNotNull() {
            addCriterion("Company_card is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyCardEqualTo(String value) {
            addCriterion("Company_card =", value, "companyCard");
            return (Criteria) this;
        }

        public Criteria andCompanyCardNotEqualTo(String value) {
            addCriterion("Company_card <>", value, "companyCard");
            return (Criteria) this;
        }

        public Criteria andCompanyCardGreaterThan(String value) {
            addCriterion("Company_card >", value, "companyCard");
            return (Criteria) this;
        }

        public Criteria andCompanyCardGreaterThanOrEqualTo(String value) {
            addCriterion("Company_card >=", value, "companyCard");
            return (Criteria) this;
        }

        public Criteria andCompanyCardLessThan(String value) {
            addCriterion("Company_card <", value, "companyCard");
            return (Criteria) this;
        }

        public Criteria andCompanyCardLessThanOrEqualTo(String value) {
            addCriterion("Company_card <=", value, "companyCard");
            return (Criteria) this;
        }

        public Criteria andCompanyCardLike(String value) {
            addCriterion("Company_card like", value, "companyCard");
            return (Criteria) this;
        }

        public Criteria andCompanyCardNotLike(String value) {
            addCriterion("Company_card not like", value, "companyCard");
            return (Criteria) this;
        }

        public Criteria andCompanyCardIn(List<String> values) {
            addCriterion("Company_card in", values, "companyCard");
            return (Criteria) this;
        }

        public Criteria andCompanyCardNotIn(List<String> values) {
            addCriterion("Company_card not in", values, "companyCard");
            return (Criteria) this;
        }

        public Criteria andCompanyCardBetween(String value1, String value2) {
            addCriterion("Company_card between", value1, value2, "companyCard");
            return (Criteria) this;
        }

        public Criteria andCompanyCardNotBetween(String value1, String value2) {
            addCriterion("Company_card not between", value1, value2, "companyCard");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andLastmodtimeIsNull() {
            addCriterion("lastModTime is null");
            return (Criteria) this;
        }

        public Criteria andLastmodtimeIsNotNull() {
            addCriterion("lastModTime is not null");
            return (Criteria) this;
        }

        public Criteria andLastmodtimeEqualTo(Date value) {
            addCriterion("lastModTime =", value, "lastmodtime");
            return (Criteria) this;
        }

        public Criteria andLastmodtimeNotEqualTo(Date value) {
            addCriterion("lastModTime <>", value, "lastmodtime");
            return (Criteria) this;
        }

        public Criteria andLastmodtimeGreaterThan(Date value) {
            addCriterion("lastModTime >", value, "lastmodtime");
            return (Criteria) this;
        }

        public Criteria andLastmodtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("lastModTime >=", value, "lastmodtime");
            return (Criteria) this;
        }

        public Criteria andLastmodtimeLessThan(Date value) {
            addCriterion("lastModTime <", value, "lastmodtime");
            return (Criteria) this;
        }

        public Criteria andLastmodtimeLessThanOrEqualTo(Date value) {
            addCriterion("lastModTime <=", value, "lastmodtime");
            return (Criteria) this;
        }

        public Criteria andLastmodtimeIn(List<Date> values) {
            addCriterion("lastModTime in", values, "lastmodtime");
            return (Criteria) this;
        }

        public Criteria andLastmodtimeNotIn(List<Date> values) {
            addCriterion("lastModTime not in", values, "lastmodtime");
            return (Criteria) this;
        }

        public Criteria andLastmodtimeBetween(Date value1, Date value2) {
            addCriterion("lastModTime between", value1, value2, "lastmodtime");
            return (Criteria) this;
        }

        public Criteria andLastmodtimeNotBetween(Date value1, Date value2) {
            addCriterion("lastModTime not between", value1, value2, "lastmodtime");
            return (Criteria) this;
        }

        public Criteria andAdduserIsNull() {
            addCriterion("addUser is null");
            return (Criteria) this;
        }

        public Criteria andAdduserIsNotNull() {
            addCriterion("addUser is not null");
            return (Criteria) this;
        }

        public Criteria andAdduserEqualTo(String value) {
            addCriterion("addUser =", value, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserNotEqualTo(String value) {
            addCriterion("addUser <>", value, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserGreaterThan(String value) {
            addCriterion("addUser >", value, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserGreaterThanOrEqualTo(String value) {
            addCriterion("addUser >=", value, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserLessThan(String value) {
            addCriterion("addUser <", value, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserLessThanOrEqualTo(String value) {
            addCriterion("addUser <=", value, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserLike(String value) {
            addCriterion("addUser like", value, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserNotLike(String value) {
            addCriterion("addUser not like", value, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserIn(List<String> values) {
            addCriterion("addUser in", values, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserNotIn(List<String> values) {
            addCriterion("addUser not in", values, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserBetween(String value1, String value2) {
            addCriterion("addUser between", value1, value2, "adduser");
            return (Criteria) this;
        }

        public Criteria andAdduserNotBetween(String value1, String value2) {
            addCriterion("addUser not between", value1, value2, "adduser");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}